package com.example.controller.actuator;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/9/21 21:43
 */
@RestController
public class HelloController {
    @RequestMapping("/hello")
    public String index() {
        return "Hello World";
    }


    /**
     *  http://localhost:8082/monitor
     *  http://localhost:8082/monitor/beans 所有的bean
     *  http://localhost:8082/monitor/caches/{cache}  缓存
     *  http://localhost:8082/monitor/caches
     *  http://localhost:8082/monitor/health 节点健康状态
     *  http://localhost:8082/monitor/info 节点信息
     *
     *  http://localhost:8082/monitor/shutdown 优雅停机（post）
     *
     *  http://localhost:8082/monitor/configprops 配置信息
     *
     *  http://localhost:8082/monitor/env 当前环境属性
     *  http://localhost:8082/monitor/metrics 监控指标
     *  http://localhost:8082/monitor/scheduledtasks 定时任务
     *
     *  http://localhost:8082/monitor/mappings urlMapping
     */
}

